import request from '@/utils/request'

// 查询气象服务签约客户列表
export function listSigningCustomer(query) {
  return request({
    url: '/snowRemoving/signingCustomer/list',
    method: 'get',
    params: query
  })
}

// 查询气象服务签约客户详细
export function getSigningCustomer(signingCustomerId) {
  return request({
    url: '/snowRemoving/signingCustomer/' + signingCustomerId,
    method: 'get'
  })
}

// 新增气象服务签约客户
export function addSigningCustomer(data) {
  return request({
    url: '/snowRemoving/signingCustomer',
    method: 'post',
    data: data
  })
}

// 修改气象服务签约客户
export function updateSigningCustomer(data) {
  return request({
    url: '/snowRemoving/signingCustomer',
    method: 'put',
    data: data
  })
}

// 删除气象服务签约客户
export function delSigningCustomer(signingCustomerId) {
  return request({
    url: '/snowRemoving/signingCustomer/' + signingCustomerId,
    method: 'delete'
  })
}
